package cn.com.hhrcw.mapstruct;

import cn.com.hhrcw.base.BaseConvert;
import cn.com.hhrcw.enterprise.params.EnInfoParams;
import cn.com.hhrcw.enterprise.params.EnRegInfoParams;
import cn.com.hhrcw.enterprise.vo.EnInfoVO;
import cn.com.hhrcw.entity.EnInfo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * @author admin
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EnEnInfoConvert extends BaseConvert<EnInfo, EnInfoParams, EnInfoVO> {

    /**
     * params转Entity
     *
     * @param params /
     * @return /
     */
    EnInfo toEntity(EnRegInfoParams params);
}

